<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

// Route::get('/', function () {
//     return view('welcome');
// });

Route::get('/admin', 'admin\AdminController@index');
Route::controller('/admin/cate','admin\CateController');
Route::controller('/admin/goods','admin\GoodsController');
<<<<<<< HEAD
Route::controller('/admin/carousel', 'admin\CarouselController');
Route::controller('/admin/brand', 'admin\BrandController');
Route::controller('/ajax', 'AjaxController');
=======
Route::controller('/admin/notice','admin\NoticeController');
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa






















































































































































































<<<<<<< HEAD
Route::controller('/admin/user','admin\UserController');
Route::controller('/admin/cart','admin\CartController');
Route::controller('/admin/userdetails','admin\UserdetailsController');
=======
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa




<<<<<<< HEAD
=======
Route::controller('/admin/user','admin\UserController');
Route::controller('/admin/userdetails','admin\UserdetailsController');
Route::controller('/home/user','home\UserController');
//Route::controller('/home/adress','home\AdressController');

 /*Route::get('/', function () {
     return view('welcome');
 });
*/

>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa




























































































































































































// 注册路由
Route::controller('/home/register', 'home\RegisterController');

// 验证码路由
Route::get('/code', 'CodeController@index'); 

// ajax路由
Route::controller('/ajax', 'AjaxController');

// 登录路由
Route::controller('/home/login', 'home\LoginController');

<<<<<<< HEAD
// 前台路由
Route::controller('/', 'home\HomeController');
=======
// 忘记密码路由
Route::controller('/home/password', 'home\PasswordController');

// 后台词语过滤路由
Route::controller('/admin/filter', 'admin\FilterController');

// 友情链接路由
Route::controller('/admin/link', 'admin\LinkController');

//网站配置路由
Route::controller('/admin/config', 'admin\ConfigController');











// 前台路由
Route::controller('/', 'home\HomeController');
>>>>>>> 31e42f2d3415b82d4888522298db4e7de5f9c8aa
